package cc.comac.mom.api.base;

import java.util.List;

import cc.comac.mom.bean.base.BaseBean;
import cc.comac.mom.util.ResultBean;
public interface BaseService <T extends BaseBean<?>>{
	
	public ResultBean save(T obj);
	public ResultBean delete(T obj);
	public ResultBean update(T obj);

	public ResultBean save(List<T> list);
	public ResultBean update(List<T> list);
	public ResultBean delete(List<T> list);
	public T getById(long id);
}
